nypd 's secret history from first 50 years unveiled in book about the force .
looking at men who led the police , book describes kickbacks and brutality .
one chief of police led the mob to the whereabouts of his star detective .
another failed to investigate kkk infiltration in the ranks of his department .